/* eslint-disable @typescript-eslint/no-explicit-any */
const list = [
  {
    id: 1,
    name: 'zs',
    age: '23',
    job: '前端工程师'
  },
  {
    id: 2,
    name: 'ww',
    age: '24',
    job: '后端工程师'
  }
]

export default {
  'get|/api/v1/query': (option: any) => {
    console.log(option)
    return {
      status: 200,
      message: 'success',
      data: list
    }
  },
  'get|/api/query/list': {
    status: 200,
    message: 'success',
    data: {
      total: 100,
      'rows|10': [{
        id: '@guid',
        name: '@cname',
        'age|20-30': 23,
        'job|1': ['前端工程师', '后端工程师', 'UI工程师', '需求工程师']
      }]
    }
  }
}
